# mu application configuration

INCLUDEPATH = -Iinclude/
RESOURCES = mu.qrc

INCLUDEPATH = -Iinclude/ \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtGui \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/phonon \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/phonon_compat \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/Qt \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/Qt3Support \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtAssistant \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtCore \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtDBus \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtDesigner \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtGui \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtHelp \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtNetwork \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtOpenGL \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtScript \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtScriptTools \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtSql \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtSvg \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtTest \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtUiTools \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtWebKit \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtXml \
-I/code/devtools/fedora13/qt-4.5.3/qt/include/QtXmlPatterns \
-I/code/devtools/fedora13/qt-4.5.3/qt/include

INCLUDEPATH += $$PWD \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtGui \
/code/devtools/fedora13/qt-4.5.3/qt/include/phonon \
/code/devtools/fedora13/qt-4.5.3/qt/include/phonon_compat \
/code/devtools/fedora13/qt-4.5.3/qt/include/Qt \
/code/devtools/fedora13/qt-4.5.3/qt/include/Qt3Support \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtAssistant \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtCore \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtDBus \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtDesigner \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtGui \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtHelp \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtNetwork \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtOpenGL \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtScript \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtScriptTools \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtSql \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtSvg \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtTest \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtUiTools \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtWebKit \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtXml \
/code/devtools/fedora13/qt-4.5.3/qt/include/QtXmlPatterns \
/code/devtools/fedora13/qt-4.5.3/qt/include

macx: QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk

FORMS       = forms/mainwindow.ui \
	forms/PersistentDialog.ui \
	forms/Preferences.ui \
	forms/licensedialog.ui \
	forms/htmledit.ui \
    forms/shortcutwidget.ui \
    forms/shortcutpreferenceswidget.ui \
    forms/majorsystemui.ui \
    forms/ChatterBox.ui \
    forms/licenseagreement.ui \
    forms/thesauruscomposerwidget.ui \
    forms/about.ui
HEADERS     = include/mainwindow.h \
			  include/treeitem.h \
			  include/treemodel.h \
			  include/Common.h \
			  include/Item.h \
			  include/Deck.h \
			  include/Card.h \
	include/DownloadManager.h \
	include/TextToSpeech.h \
	include/CardInfo.h \
	include/CSplashScreen.h \
	include/PersistentDialog.h \
	include/Preferences.h \
	include/licensedialog.h \
	include/licensing.h \
	include/htmledit.h \
	include/richtextview.h \
	include/RichText.h \
	include/cardsreader.h \
	include/knowledgebase.h \
	include/currentitemobserver.h \
    include/shortcutwidget.h \
    include/shortcutinput.h \
    include/shortcutpreferenceswidget.h \
    include/customshortcut.h \
    include/mucustomshortcuts.h \
    include/shortcutdelegate.h \
    include/shortcutsmodel.h \
    include/customshortcut_qmeta.h \
    include/itreeitemfactory.h \
    include/MajorSystem.h \
    include/majorsystemui.h \
    include/ChatterBox.h \
    include/unittests.h \
    include/licensinguserinfo.h \
    include/thesauruscomposerwidget.h \
    include/licenseagreement.h \
    include/dictionarylookup.h \
    include/about.h

SOURCES     = src/mainwindow.cpp \
			  src/treeitem.cpp \
			  src/treemodel.cpp \
			  src/main.cpp \
			  src/Common.cpp \
			  src/Item.cpp \
			  src/Deck.cpp \
			  src/Card.cpp \
	src/DownloadManager.cpp \
	src/TextToSpeech.cpp \
	src/CSplashScreen.cpp \
	src/PersistentDialog.cpp \
	src/Preferences.cpp \
	src/licensedialog.cpp \
	src/licensing.cpp \
	src/htmledit.cpp \
	src/richtextview.cpp \
	src/RichText.cpp \
	src/cardsreader.cpp \
	src/knowledgebase.cpp \
	src/currentitemobserver.cpp \
    src/shortcutwidget.cpp \
    src/shortcutinput.cpp \
    src/shortcutpreferenceswidget.cpp \
    src/customshortcut.cpp \
    src/mucustomshortcuts.cpp \
    src/shortcutdelegate.cpp \
    src/shortcutsmodel.cpp \
    src/customshortcut_qmeta.cpp \
    src/itreeitemfactory.cpp \
    src/MajorSystem.cpp \
    src/majorsystemui.cpp \
    src/ChatterBox.cpp \
    src/unittests.cpp \
    src/licensinguserinfo.cpp \
    src/licenseagreement.cpp \
    src/thesauruscomposerwidget.cpp \
    src/dictionarylookup.cpp \
    src/about.cpp

# CENTOS QT BUG FIX
unix:!macxLIBS += -L/opt/fontconfig-2.4.2/lib -L/opt/freetype-2.4.6/lib -lfontconfig -lfreetype -L/home/shyalb/qt-4.5.3/qt/lib

CONFIG  += qt
CONFIG += debug_and_release

QT += network
QT += xml

CONFIG += crypto

#LIBS += -lqca

MOC_DIR = ./build/moc
OBJECTS_DIR = ./build/obj
UI_DIR = ./build/ui
RCC_DIR = ./build/rcc


DEPENDPATH += . include/ src/

OTHER_FILES += \
    icon_sources.txt \
    icons/16x16/document-save-as.png \
    icons/16x16/document-open.png \
    icons/24x24/document-save-as.png \
    icons/24x24/document-open.png \
    icons/24x24/document-new.png \
    icons/48x48/document-save-as.png \
    icons/48x48/document-open.png \
    icons/48x48/document-new.png \
    resources/icons/mu-theme/index.theme \
    resources/icons/mu-theme/16x16/document-save-as.png \
    resources/icons/mu-theme/16x16/document-open.png \
    resources/icons/mu-theme/16x16/document-new.png \
    resources/icons/mu-theme/24x24/document-save-as.png \
    resources/icons/mu-theme/24x24/document-open.png \
    resources/icons/mu-theme/24x24/document-new.png \
    resources/icons/mu-theme/48x48/document-save-as.png \
    resources/icons/mu-theme/48x48/document-open.png \
    resources/icons/mu-theme/48x48/document-new.png \
    resources/dictionary.txt \
    resources/icons/mu-theme/48x48/insert-image.png \
    resources/icons/mu-theme/48x48/edit-clear.png \
    resources/icons/mu-theme/24x24/insert-image.png \
    resources/icons/mu-theme/24x24/edit-clear.png \
    resources/icons/mu-theme/16x16/insert-image.png \
    resources/icons/mu-theme/16x16/edit-clear.png \
	other/installers/windows/Mu.nsi #what for?


unix {
	target.path = /usr/bin
	INSTALLS += target
}
